<%@include file="/WEB-INF/header2.jsp"%>
<%@ page pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/bootstrap-table.min.css" rel="stylesheet">
<script src="../js/jquery-1.11.3.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-table.min.js"></script>
<script src="../js/bootstrap-table-zh-CN.min.js"></script>
<style type="text/css">
#table-1 thead, #table-1 tr {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #a8bfde;
}

#table-1 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #a8bfde;
}
/* Padding and font style */
#table-1 td, #table-1 th {
	padding: 5px 10px;
	font-size: 12px;
	font-family: Verdana;
	color: #5b7da3;
}
/* Alternating background colors */
#table-1 tr:nth-child(even) {
	background: #d3dfed
}

#table-1 tr:nth-child(odd) {
	background: #FFF
}
</style>
</head>
<body>
	<font color="red" style="margin-left: 70px;"> <%-- 提示信息--%> <span
		id="message">${msg}</span>
	</font>
	<div id="page-wrapper">
		<table align="center" id="table-1">
			<tr>
				<th>序号</th>
				<th>姓名</th>
				<th>生日</th>
				<th>性别</th>
				<th>联系方式</th>
				<th>父亲</th>
				<th>母亲</th>
				<th>配偶</th>
				<th>女儿</th>
				<th>儿子</th>
			</tr>
			<c:forEach var="members" items="${members}" varStatus="vs">
				<tr>
					<td>${vs.count}</td>
					<td>${members.member_name}</td>
					<td>${members.member_birthday}</td>
					<td><c:choose>
							<c:when test="${members.member_sex == 0 }">女</c:when>
							<c:when test="${members.member_sex == 1 }">男</c:when>
						</c:choose></td>
					<td>${members.member_phone}</td>
					<td>${members.member_address}</td>
					<td>${members.member_mother}</td>
					<td>${members.member_mate}</td>
					<td>${members.member_girl}</td>
					<td>${members.member_boy}</td>					
				</tr>
			</c:forEach>
		</table>
	</div>	
</html>
<%@include file="/WEB-INF/footer.jsp"%>
